home *** CD-ROM | disk | FTP | other *** search
- ID_BUTTON = 0
- ID_CHK_BOX = 2
- ID_FRAME = 7
- PGUI_1STBUTTON_DOWN = 0
- PGUI_1STBUTTON_UP = 1
- PGUI_1STBUTTON_CLCK = 2
- PGUI_1STBUTTON_DBLCLCK = 3
- PGUI_1STBUTTON_DRAG = 4
- PGUI_1STBUTTON_DROP = 5
- PGUI_2NDBUTTON_DOWN = 6
- PGUI_2NDBUTTON_UP = 7
- PGUI_2NDBUTTON_CLCK = 8
- PGUI_2NDBUTTON_DBLCLCK = 9
- PGUI_2NDBUTTON_DRAG = 10
- PGUI_2NDBUTTON_DROP = 11
- PGUI_POINTER_MOVE = 12
- PGUI_POINTER_HOVER = 13
- PGUI_POINTER_LEAVE = 14
- PGUI_POINTER_DRAG_HOVER = 15
- PGUI_POINTER_DRAG_LEAVE = 16
- PGUI_CHAR_PRESSED = 17
- PGUI_KEY_PRESSED = 18
- PGUI_VALUE_CHANGED = 19
- PGUI_RELEASE_FOCUS = 20
- PGUI_INITIALISATION = 21
- PGUI_ANIMATION_FINISHED = 22
-
- CreateGUI("options");
-
- id=GUIADDCONTROL {
- Parent = 0,
- Name = "OptionsFrame",
- Title = "OptionsFrame",
- ControlType= ID_FRAME,
- BoundRect = {0,0,1024,768},
- Texture = "GUI/options.dds",
- Rec1STTexture = {0,232,1,233},
- };
-
- dijalog = GUIADDCONTROL {
- Parent = id,
- Name = "OptionsFrame2",
- Title = "OptionsFrame2",
- ControlType= ID_FRAME,
- BoundRect = {264,220,764,540},
- Texture = "GUI/options.dds",
- Rec1STTexture = {0,0,499,321},
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "Options",
- ControlType= ID_BUTTON,
- BoundRect = {670-264,502-220,747-264,530-220},
- Texture = "GUI/options.dds",
- Title = "Button 2",
- Rec1STTexture = {670-264,502-220,747-264,530-220},
- Rec2NDTexture = {80,321,157,353},
- Rec3RDTexture = {80,321,157,353},
- Rec4THTexture = {80,321,157,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "SETDLGRESULT_YES"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "VoiceToggle",
- ControlType= ID_CHK_BOX,
- BoundRect = {430-264,462-220,458-264,494-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {430-264,462-220,458-264,494-220},
- Rec2NDTexture = {26+157,321,54+157,353},
- Rec3RDTexture = {26,321,54,353},
- Rec4THTexture = {26+237,321,54+237,353},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION , "VOICETOGGLEBUTTON"},
- {PGUI_1STBUTTON_CLCK , "VOICETOGGLE"},
- },
- };
-
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "MasterVolume",
- ControlType= ID_CHK_BOX,
- BoundRect = {306-264,302-220,334-264,334-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {306-264,302-220,334-264,334-220},
- Rec2NDTexture = {26+157,321,54+157,353},
- Rec3RDTexture = {26,321,54,353},
- Rec4THTexture = {26+237,321,54+237,353},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION, "MASTERTOGGLEBUTTON"},
- {PGUI_VALUE_CHANGED, "MASTERTOGGLE"},
- },
- };
-
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "MasterVolumeMinus",
- ControlType= ID_BUTTON,
- BoundRect = {339-264,302-220,365-264,334-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {339-264,302-220,365-264,334-220},
- Rec2NDTexture = {0+157,321,26+157,353},
- Rec3RDTexture = {0,321,26,353},
- Rec4THTexture = {0+237,321,26+237,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "MASTERMINUS"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "MasterVolumePlus",
- ControlType= ID_BUTTON,
- BoundRect = {707-264,302-220,733-264,334-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {707-264,302-220,733-264,334-220},
- Rec2NDTexture = {54+157,321,80+157,353},
- Rec3RDTexture = {54,321,80,353},
- Rec4THTexture = {54+237,321,80+237,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "MASTERPLUS"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "MusicVolume",
- ControlType= ID_CHK_BOX,
- BoundRect = {306-264,342-220,334-264,374-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {306-264,342-220,334-264,374-220},
- Rec2NDTexture = {26+157,321,54+157,353},
- Rec3RDTexture = {26,321,54,353},
- Rec4THTexture = {26+237,321,54+237,353},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION, "MUSICTOGGLEBUTTON"},
- {PGUI_1STBUTTON_CLCK, "MUSICTOGGLE"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "MusicVolumeMinus",
- ControlType= ID_BUTTON,
- BoundRect = {339-264,342-220,365-264,374-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {339-264,342-220,365-264,374-220},
- Rec2NDTexture = {0+157,321,26+157,353},
- Rec3RDTexture = {0,321,26,353},
- Rec4THTexture = {0+237,321,26+237,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "MUSICMINUS"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "MusicVolumePlus",
- ControlType= ID_BUTTON,
- BoundRect = {707-264,342-220,733-264,374-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {707-264,342-220,733-264,374-220},
- Rec2NDTexture = {54+157,321,80+157,353},
- Rec3RDTexture = {54,321,80,353},
- Rec4THTexture = {54+237,321,80+237,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "MUSICPLUS"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "3DSfxVolume",
- ControlType= ID_CHK_BOX,
- BoundRect = {306-264,382-220,334-264,414-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {306-264,382-220,334-264,414-220},
- Rec2NDTexture = {26+157,321,54+157,353},
- Rec3RDTexture = {26,321,54,353},
- Rec4THTexture = {26+237,321,54+237,353},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION, "SFX3DTOGGLEBUTTON"},
- {PGUI_1STBUTTON_CLCK, "SFX3DTOGGLE"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "3DSfxVolumeMinus",
- ControlType= ID_BUTTON,
- BoundRect = {339-264,382-220,365-264,414-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {339-264,382-220,365-264,414-220},
- Rec2NDTexture = {0+157,321,26+157,353},
- Rec3RDTexture = {0,321,26,353},
- Rec4THTexture = {0+237,321,26+237,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "SFX3DMINUS"},
- },
- };
-
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "3DSfxVolumePlus",
- ControlType= ID_BUTTON,
- BoundRect = {707-264,382-220,733-264,414-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {707-264,382-220,733-264,414-220},
- Rec2NDTexture = {54+157,321,80+157,353},
- Rec3RDTexture = {54,321,80,353},
- Rec4THTexture = {54+237,321,80+237,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "SFX3DPLUS"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "2DSfxVolume",
- ControlType= ID_CHK_BOX,
- BoundRect = {306-264,422-220,334-264,454-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {306-264,422-220,334-264,454-220},
- Rec2NDTexture = {26+157,321,54+157,353},
- Rec3RDTexture = {26,321,54,353},
- Rec4THTexture = {26+237,321,54+237,353},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION, "SFX2DTOGGLEBUTTON"},
- {PGUI_1STBUTTON_CLCK, "SFX2DTOGGLE"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "2DSfxVolumeMinus",
- ControlType= ID_BUTTON,
- BoundRect = {339-264,422-220,365-264,454-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {339-264,422-220,365-264,454-220},
- Rec2NDTexture = {0+157,321,26+157,353},
- Rec3RDTexture = {0,321,26,353},
- Rec4THTexture = {0+237,321,26+237,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "SFX2DMINUS"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "2DSfxVolumePlus",
- ControlType= ID_BUTTON,
- BoundRect = {707-264,422-220,733-264,454-220},
- Texture = "GUI/options.dds",
- Title = "Button 23",
- Rec1STTexture = {707-264,422-220,733-264,454-220},
- Rec2NDTexture = {54+157,321,80+157,353},
- Rec3RDTexture = {54,321,80,353},
- Rec4THTexture = {54+237,321,80+237,353},
- MESSAGE_MAP = {
- {PGUI_1STBUTTON_CLCK, "SFX2DPLUS"},
- },
- };
-
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "MasterProgress",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {377-264,302-220,694-264,334-220},
- Texture = "GUI/options.dds",
- Rec1STTexture = {377-264,302-220,694-264,334-220},
- Rec2NDTexture = {0,353,317,385},
-
- MESSAGE_MAP = {
- {PGUI_INITIALISATION, "PROG_MASTER"},
- {PGUI_1STBUTTON_CLCK, "PROG_CLICK"},
- },
- };
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "MusicProgress",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {377-264,342-220,694-264,374-220},
- Texture = "GUI/options.dds",
- Rec1STTexture = {377-264,342-220,694-264,374-220},
- Rec2NDTexture = {0,385,317,416},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION, "PROG_MUSIC"},
- {PGUI_1STBUTTON_CLCK, "PROG_CLICK"},
- },
- };
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "3DSfxProgress",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {377-264,382-220,694-264,414-220},
- Texture = "GUI/options.dds",
- Rec1STTexture = {377-264,382-220,694-264,414-220},
- Rec2NDTexture = {0,416,317,449},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION, "PROG_SFX3D"},
- {PGUI_1STBUTTON_CLCK, "PROG_CLICK"},
- },
- };
- GUIADDCONTROL {
- Parent = dijalog,
- Name = "2DSfxProgress",
- ControlType= ID_PROGRESSBAR,
- BoundRect = {377-264,422-220,694-264,454-220},
- Texture = "GUI/options.dds",
- Rec1STTexture = {377-264,422-220,694-264,454-220},
- Rec2NDTexture = {0,449,317,481},
- MESSAGE_MAP = {
- {PGUI_INITIALISATION, "PROG_SFX2D"},
- {PGUI_1STBUTTON_CLCK, "PROG_CLICK"},
- },
- };
-